package com.mm;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * @author XiaoLuo
 * @ClassName: UserApplication
 * @Description: ${todo}
 * @date 2019/4/6 20:31
 */
@SpringBootApplication
@MapperScan("com.mm.mapper")
@EnableDiscoveryClient//开启EurekaClient功能 还可以访问zookepper等
public class UserApplication {
	public static void main(String[] args) {
		SpringApplication.run(UserApplication.class);
	}
}
